import axios from "@/utils/request";
// 查询【请填写功能名称】列表
export const listUsers=(query:any)=> {
  return axios({
    path: '/system/users/list',
    method: 'get',
    data: query
  })
}

// 查询【请填写功能名称】详细
export const getUsers=(sysUserId:any)=> {
  return axios({
    path: '/system/users/' + sysUserId,
    method: 'get'
  })
}


// 新增【请填写功能名称】
export const addUsers=(data:any)=> {
  return axios({
    path: '/system/users',
    method: 'post',
    data: data
  })
}

// 修改【请填写功能名称】
export const updateUsers=(data:any)=> {
  return axios({
    path: '/system/users',
    method: 'put',
    data: data
  })
}

// 删除【请填写功能名称】
export const delUsers=(sysUserId:any)=> {
  return axios({
    path: '/system/users/' + sysUserId,
    method: 'delete'
  })
}
